import request from '@/utils/request'
import qs from 'qs'

// 红色物业 /hswy/query
export const hswyPage = params => {
  return request({
    url: '/hswy/page?' + qs.stringify(params),
    method: 'POST'
  })
}

// 红色物业保存
export const hswySave = data => {
  return request({
    url: '/hswy/save',
    method: 'POST',
    data
  })
}

// 删除红色物业
export const hswyDelete = data => {
  return request({
    url: '/hswy/delete?' + qs.stringify(data),
    method: 'POST'
  })
}
